
#include <stdio.h>
int main()
{
	int n1 = 0;
	int n2 = 0;
	int n3 = 0;
	while (scanf("%d %d %d", &n1, &n2, &n3) != EOF)
	{
		int max = n1 > n2 ? n1 : n2;
		max = max > n3 ? max : n3;
		printf("%d\n", max);
	}
	return 0;
}